Skip to content

20251014-WC_SAFE_SUM#9298

Merged
embhorn merged 6 commits intowolfSSL:masterfrom
douzzer:20251014-WC_SAFE_SUM
Oct 15, 2025
Merged

20251014-WC_SAFE_SUM#9298
embhorn merged 6 commits intowolfSSL:masterfrom
douzzer:20251014-WC_SAFE_SUM

Conversation

@douzzer
Copy link
Copy Markdown
Contributor

@douzzer douzzer commented Oct 14, 2025

wolfssl/wolfcrypt/types.h: add WC_WUR_INT(), MAX_UINT_OF(), MAX_SINT_OF(), MIN_SINT_OF(), WC_SAFE_SUM_UNSIGNED(), and WC_SAFE_SUM_SIGNED().

src/ssl.c: fix overflow/overrun defect in wolfSSL_writev().

src/internal.c: fix -Wnull-dereference in LoadCertByIssuer().

wolfcrypt/src/asn.c: rearrange check for null cname in EncodeName() to fix false positive -Wnull-dereference.

src/internal.c: suppress -Wnull-dereference locally in ProcessPeerCertParse() to fix false positive.

tested with wolfssl-multi-test.sh ... pr-check underway now.

…OF(), MIN_SINT_OF(), WC_SAFE_SUM_UNSIGNED(), and WC_SAFE_SUM_SIGNED().
…o fix false positive -Wnull-dereference.

src/internal.c: suppress -Wnull-dereference locally in ProcessPeerCertParse() to fix false positive.
@douzzer
Copy link
Copy Markdown
Contributor Author

douzzer commented Oct 14, 2025

see ZD#20626 and ZD#20646

supersedes #9296

@douzzer
Copy link
Copy Markdown
Contributor Author

douzzer commented Oct 15, 2025

retest this please
( ./fips-all-rolling-releases-single.sh HPIPL-v2:v4.1.0 "configure: error: unrecognized options: --with-libtool-sysroot" on wolf-linux-cloud-node-cxn4mt)

@douzzer
Copy link
Copy Markdown
Contributor Author

douzzer commented Oct 15, 2025

retest this please
(same failure, this time on wolf-linux-cloud-node-z0031o)

@douzzer
Copy link
Copy Markdown
Contributor Author

douzzer commented Oct 15, 2025

retest this please

2 similar comments
@douzzer
Copy link
Copy Markdown
Contributor Author

douzzer commented Oct 15, 2025

retest this please

@douzzer
Copy link
Copy Markdown
Contributor Author

douzzer commented Oct 15, 2025

retest this please

Comment thread wolfssl/wolfcrypt/types.h
Copy link
Copy Markdown
Member

@embhorn embhorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool that the NULL warning found some issue... Just the minor alignment comment

@dgarske dgarske assigned douzzer and unassigned embhorn Oct 15, 2025
@embhorn embhorn merged commit f9b666d into wolfSSL:master Oct 15, 2025
261 of 262 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants